package com.logisticsmanagement.activity;

import com.logisticsmanagement.R;

import android.os.Bundle;
import android.app.Activity;
import android.content.Intent;
import android.view.Menu;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;

public class RegisterNextActivity extends Activity {

	private Button lastStep;
	private Button cancel;
	private Button register;
	
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.activity_register_next);
		
		lastStep = (Button) findViewById(R.id.btnRegisterBackup);
		cancel = (Button) findViewById(R.id.btnRegisterQuit);
		register = (Button) findViewById(R.id.btnRegisterSure);
		
		Intent intent = getIntent();
		
		//为上一步按钮添加监听器
		lastStep.setOnClickListener(new OnClickListener() {
			
			@Override
			public void onClick(View view) {
				// TODO Auto-generated method stub
				Intent intent = new Intent(RegisterNextActivity.this,RegisterActivity.class);
				startActivity(intent);
			}
		});
		
		//为取消按钮添加监听器
		cancel.setOnClickListener(new OnClickListener() {
			
			@Override
			public void onClick(View arg0) {
				// TODO Auto-generated method stub
				Intent intent = new Intent(RegisterNextActivity.this,LoginActivity.class);
				//startActivity(intent);
			}
		});
		
		//为确定按钮添加
	}



}
